package kn.webstd.g4g.business;

import java.util.List;

import kn.webstd.g4g.commons.dts.BUDts;
import kn.webstd.g4g.commons.dts.IniciativeDts;
import kn.webstd.g4g.commons.dts.StatusDts;
import kn.webstd.g4g.commons.dts.UsersDts;
import kn.webstd.tools.business.IService;
import kn.webstd.tools.business.security.IAuthorizationManager.PermitAll;

@PermitAll
public interface IIniciativeService extends IService {
	public IniciativeDts getIniciative(IniciativeDts iniciative);
	public List<IniciativeDts> getIniciativesByBU(BUDts bu, StatusDts period);
	public List<IniciativeDts> getIniciativesByUser(UsersDts user, StatusDts period);
	public List<IniciativeDts> getIniciativesByUserNotFinished(UsersDts user, StatusDts period);
	public IniciativeDts terminateIniciativesByUser(UsersDts user);
	public List<IniciativeDts> createNewIniciativesWithChangePeriod(StatusDts periodBefore);
}